﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;

namespace QlrrPrintService.NativeMessage
{
    class Program
    {
        private static ILog log = LogManager.GetLogger(typeof(Program));
        static void Main(string[] args)
        {
            log4net.Config.XmlConfigurator.Configure();
            if (args[args.Length - 1].StartsWith("chrome-extension://")) RunNativeMessagingHost(args);
        }

        static int RunNativeMessagingHost(string[] args)
        {
            Host host = new Host();
            host.Run();
            return 0;
        }
    }
}
